HermiteSpline.Create
Description:
Creates a Hermite spline with specified tangency at its endpoints.
Creates a Hermite spline with specified tangency at its endpoints.
Overloads (2):
public static HermiteSpline Create(
IList<XYZ> controlPoints,
bool periodic,
HermiteSplineTangents tangents
)
-
IList<XYZ>controlPointsThe control points of the Hermite spline.
-
BooleanperiodicTrue if the Hermite spline is to be periodic, false otherwise.
-
tangentsThe object which indicates tangency at the start, the end, or both ends of the curve.
-
The control points array is invalid, because it doesn't contain the minimum number of points (2).
-
A non-optional argument was NULL
-
Curve length is too small for Revit's tolerance (as identified by Application.ShortCurveTolerance).
-
Unable to construct valid HermiteSpline from given inputs.